package dao

import (
	"time"
)

type Log struct {
	ID         int64     `gorm:"primary_key;not_null;auto_increment" json:"id"`
	Content    string    `gorm:"comment:'内容'" json:"content"`
	CreateTime time.Time `gorm:"comment:'创建时间'" json:"createTime"`
	UpdateTime time.Time `gorm:"comment:'修改时间'" json:"updateTime"`
}

func (c *Log) TableName() string {
	return "log"
}
